<%@page contentType="text/html; charset=utf-8" %>
<%@ page session="false"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<html>
<head>
<title>페이지 수정</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<link rel=stylesheet href="../css/user.css" type="text/css">
<script language="JavaScript">
function documentCreate() {
	frmdocument.submit();
}

</script>
</head>
<body bgcolor=#FFFFFF text=#000000 leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>
<br/>
	<table width="100%" border="0" align="center">
	<tr>
		<td align=right>
		  <a href="javascript:documentCreate()"  title="View History">저장</a>            	
		</td>
	</tr>
	<tr>
		<td>
		  <!-- write Form  -->
			  <form:form commandName="document" name="frmdocument" action="/simplewiki/update_page.do" method="post">
			  	<input type="hidden" name="parentId" value="${parentId}" />
			  	<form:hidden path="id"/>
			  	<table border="0" cellpadding="0" cellspacing="1" width="100%" bgcolor="BBBBBB">
					  <tr>
						<td width="20%" align=center bgcolor="E6ECDE" height="22">제 목</td>
						<td width="80%" bgcolor=FFFFFF style="padding-left:10">
							<form:input path="title" cssStyle="width:100%"/>
						</td>
					  </tr>
					  <tr>
						<td bgcolor=FFFFFF style="padding-left:10" colspan="2">
							<form:textarea path="content" cssStyle="width:100%" rows="30"/>
						</td>
					  </tr>
					  <tr>
						<td align=center bgcolor="E6ECDE" height="22">Tags</td>
						<td bgcolor=FFFFFF style="padding-left:10">
							<form:input path="tags" cssStyle="width:100%"/>
						</td>
					  </tr>
				  </table>
			  </form:form>
		</td>
	</tr>
	</table>
</body>
</html>